package com.zxct.wyserver.activity;

import android.content.Intent;
import android.os.Handler;
import android.view.View;

import com.zxct.wyserver.R;
import com.zxct.wyserver.base.BaseActivity;

public class SplashActivity extends BaseActivity {

    @Override
    public int getLayoutId() {
        return R.layout.activity_splash;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initListener() {

    }

    @Override
    public void initData() {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent(SplashActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        }, 2000);
    }

    @Override
    public void processClick(View view) {

    }
}
